package com.weimei.conversionTreasure.http;


import com.weimei.conversionTreasure.http.entity.BalanceDetailBean;
import com.weimei.conversionTreasure.http.entity.BaseResult;
import com.weimei.conversionTreasure.http.entity.BillBean;
import com.weimei.conversionTreasure.http.entity.ComputerBean;
import com.weimei.conversionTreasure.http.entity.CustomListBean;
import com.weimei.conversionTreasure.http.entity.DealerDetailBean;
import com.weimei.conversionTreasure.http.entity.FaJiaoDetailBean;
import com.weimei.conversionTreasure.http.entity.FaJiaoListBean;
import com.weimei.conversionTreasure.http.entity.FormulaBean;
import com.weimei.conversionTreasure.http.entity.FormulaDetailBean;
import com.weimei.conversionTreasure.http.entity.FormulaListBean;
import com.weimei.conversionTreasure.http.entity.KgjsBean;
import com.weimei.conversionTreasure.http.entity.MonthBean;
import com.weimei.conversionTreasure.http.entity.MonthDetailBean;
import com.weimei.conversionTreasure.http.entity.PaoLiangDetailBean;
import com.weimei.conversionTreasure.http.entity.PaoLiangListBean;
import com.weimei.conversionTreasure.http.entity.SaveListBean;
import com.weimei.conversionTreasure.http.entity.SelKhBean;
import com.weimei.conversionTreasure.http.entity.SheRuBean;
import com.weimei.conversionTreasure.http.entity.UserBean;
import com.weimei.conversionTreasure.http.entity.YMonthDetailBean;
import com.weimei.conversionTreasure.http.entity.YearBean;

import io.reactivex.Observable;
import okhttp3.RequestBody;
import retrofit2.http.Body;
import retrofit2.http.POST;

/**
 * Created by goldze on 2017/6/15.
 */

public interface ApiService {

    String GT_QQ_LOGIN = "http://api.csweimei.cn/app/pub_qq_login";
    String GT_WECHAT_LOGIN = "http://api.csweimei.cn/app/pub_wechat_login";
    String GT_QQ_OUT_LOGIN = "http://api.csweimei.cn/app/user_qq_logout";
    String GT_WECHAT_OUT_LOGIN = "http://api.csweimei.cn/app/user_wechat_logout";

    @POST("app/brewing.userlogin")
    Observable<BaseResult> userLogin(@Body RequestBody body);

    @POST("app/brewing.getuser")
    Observable<UserBean> getUser(@Body RequestBody body);

    @POST("app/brewing.addopinion")
    Observable<BaseResult> feedBack(@Body RequestBody body);

    @POST("app/brewing.logoff")
    Observable<BaseResult> logOff(@Body RequestBody body);

    @POST("app/brewing.edituser")
    Observable<BaseResult> editUser(@Body RequestBody body);

    @POST("app/brewing.addferment")
    Observable<BaseResult> addFerment(@Body RequestBody body);

    @POST("app/brewing.fermentdetails")
    Observable<FaJiaoDetailBean> fermentDetails(@Body RequestBody body);

    @POST("app/brewing.fermentlist")
    Observable<FaJiaoListBean> fermentList(@Body RequestBody body);

    @POST("app/brewing.addsoakgrain")
    Observable<BaseResult> addSoakgrain(@Body RequestBody body);

    @POST("app/brewing.soakgrainlist")
    Observable<PaoLiangListBean> soakgrainList(@Body RequestBody body);

    @POST("app/brewing.soakgraininfo")
    Observable<PaoLiangDetailBean> soakgrainInfo(@Body RequestBody body);

    @POST("app/brewing.delete_soakgrain")
    Observable<BaseResult> delete_soakgrain(@Body RequestBody body);

    @POST("app/brewing.delete_ferment")
    Observable<BaseResult> delete_ferment(@Body RequestBody body);

    @POST("app/brewing.adddealer")
    Observable<BaseResult> adddealer(@Body RequestBody body);

    @POST("app/brewing.addcustom")
    Observable<BaseResult> addcustom(@Body RequestBody body);

    @POST("app/brewing.customlist")
    Observable<CustomListBean> customlist(@Body RequestBody body);

    @POST("app/brewing.dealerlist")
    Observable<CustomListBean> dealerlist(@Body RequestBody body);

    @POST("app/brewing.delete_custom")
    Observable<BaseResult> delete_custom(@Body RequestBody body);

    @POST("app/brewing.dealer_details")
    Observable<DealerDetailBean> dealer_details(@Body RequestBody body);

    @POST("app/brewing.delete_balance")
    Observable<BaseResult> delete_balance(@Body RequestBody body);

    @POST("app/brewing.add_balance")
    Observable<BaseResult> add_balance(@Body RequestBody body);

    @POST("app/brewing.edit_balance")
    Observable<BaseResult> edit_balance(@Body RequestBody body);

    @POST("app/brewing.seach_transaction")
    Observable<BaseResult> seach_transaction(@Body RequestBody body);


    @POST("app/brewing.add_transaction")
    Observable<BaseResult> add_transaction(@Body RequestBody body);

    @POST("app/brewing.delete_transaction")
    Observable<BaseResult> delete_transaction(@Body RequestBody body);

    @POST("app/brewing.custom_sort")
    Observable<SelKhBean> custom_sort(@Body RequestBody body);

    @POST("app/brewing.custom_dealer")
    Observable<SelKhBean> custom_dealer(@Body RequestBody body);


    @POST("app/brewing.addstorage")
    Observable<BaseResult> addstorage(@Body RequestBody body);

    @POST("app/brewing.storagelist")
    Observable<SaveListBean> storagelist(@Body RequestBody body);

    @POST("app/brewing.storageinfo")
    Observable<BaseResult> storageinfo(@Body RequestBody body);

    @POST("app/brewing.addblanking")
    Observable<BaseResult> addblanking(@Body RequestBody body);

    @POST("app/brewing.blankinglist")
    Observable<SaveListBean> blankinglist(@Body RequestBody body);

    @POST("app/brewing.blankinginfo")
    Observable<BaseResult> blankinginfo(@Body RequestBody body);

    @POST("app/brewing.deletestorage")
    Observable<BaseResult> deletestorage(@Body RequestBody body);

    @POST("app/brewing.addbudget")
    Observable<BaseResult> addbudget(@Body RequestBody body);

    @POST("app/brewing.mybill")
    Observable<BillBean> mybill(@Body RequestBody body);

    @POST("app/brewing.month_chart")
    Observable<YMonthDetailBean> month_chart(@Body RequestBody body);

    @POST("app/brewing.yearchart")
    Observable<YearBean> year_chart(@Body RequestBody body);

    @POST("app/brewing.month_details")
    Observable<MonthDetailBean> month_details(@Body RequestBody body);

    @POST("app/brewing.monthly_stat")
    Observable<MonthBean> monthly_stat(@Body RequestBody body);

    @POST("app/brewing.editbudget")
    Observable<BaseResult> editbudget(@Body RequestBody body);

    @POST("app/brewing.balance_details")
    Observable<BalanceDetailBean> balance_details(@Body RequestBody body);

    @POST("app/brewing.proofspirit")
    Observable<ComputerBean> proofspirit(@Body RequestBody body);

    @POST("app/brewing.computedensity")
    Observable<ComputerBean> computedensity(@Body RequestBody body);


    @POST("app/brewing.getwine")
    Observable<ComputerBean> getwine(@Body RequestBody body);

    @POST("app/brewing.blending_weight")
    Observable<KgjsBean> blending_weight(@Body RequestBody body);

    @POST("app/brewing.blending_volume")
    Observable<KgjsBean> blending_volume(@Body RequestBody body);

    @POST("app/brewing.getvolume")
    Observable<ComputerBean> getvolume(@Body RequestBody body);

    @POST("app/brewing.computeweight")
    Observable<ComputerBean> computeweight(@Body RequestBody body);

    @POST("app/brewing.water_addition")
    Observable<SheRuBean> water_addition(@Body RequestBody body);



    @POST("app/brewing.target_alcohol")
    Observable<SheRuBean> target_alcohol(@Body RequestBody body);

    @POST("app/brewing.costing")
    Observable<SheRuBean> costing(@Body RequestBody body);

    @POST("app/brewing.intake_calculation")
    Observable<SheRuBean> intake_calculation(@Body RequestBody body);

    @POST("app/brewing.degrees")
    Observable<SheRuBean> degrees(@Body RequestBody body);

    @POST("app/brewing.elevations")
    Observable<SheRuBean> elevations(@Body RequestBody body);

    @POST("app/brewing.addformula")
    Observable<BaseResult> addformula(@Body RequestBody body);

    @POST("app/brewing.formulalist")
    Observable<FormulaListBean> formulalist(@Body RequestBody body);

    @POST("app/brewing.formuladetails")
    Observable<FormulaDetailBean> formuladetails(@Body RequestBody body);

    @POST("app/brewing.recent_formula")
    Observable<FormulaBean> recent_formula(@Body RequestBody body);

    @POST("app/brewing.delete_formula")
    Observable<BaseResult> delete_formula(@Body RequestBody body);


}

